package com.example.brinquedohamilton;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class BitmapStorage 
{
	private static BitmapStorage instance;
	
	public Bitmap vinicius;
	public Bitmap hamiltinho;
	public Bitmap antonio;
	public Bitmap fabio;
	
	public Bitmap vinicius()
	{
		return vinicius;
	}
	
	public Bitmap hamiltinho()
	{
		return hamiltinho;
	}
	
	public Bitmap antonio()
	{
		return antonio;
	}
	
	public Bitmap fabio()
	{
		return fabio;
	}
	
	public BitmapStorage()
	{
		antonio = BitmapFactory.decodeResource(ViewQueSeMexe.res, R.drawable.antonio);
		hamiltinho = BitmapFactory.decodeResource(ViewQueSeMexe.res, R.drawable.hamiltinho);
		vinicius = BitmapFactory.decodeResource(ViewQueSeMexe.res, R.drawable.vinicius);
		fabio = BitmapFactory.decodeResource(ViewQueSeMexe.res, R.drawable.fabio);
	}
	
	public static BitmapStorage getInstance()
	{
		if(instance == null)
		{
			instance = new BitmapStorage();
		}
		return instance;
	}
}
